package systeminfo

import (
	lua "github.com/yuin/gopher-lua"
	"runtime"
)

func RegisterFunc_4lua(l *lua.LState) {
	table := l.NewTable()

	l.SetField(table, "OS", lua.LString(runtime.GOOS))
	l.SetField(table, "PathSlant", lua.LString("\\"))

	l.SetGlobal("SystemInfo", table)
}
